package com.ac.app.dm;

import java.util.Date;
import java.math.*;

import com.caac.core.dm.BaseDm;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright AgileCentury 2010</p>
 * <p>Company: AgileCentury</p>
 * @author <a href="mailto:Agile@AgileCentury.com">AgileCentury</a>
 * @version 1.0
 */

public class RecordOrg extends BaseDm {
    private String recordId;
    private String orgId;
    private String id;

    public String getRecordId() {
        return this.recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }
    public String getOrgId() {
        return this.orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    protected int doHashCode() {
        return getHashCodeBuilder().append(id).toHashCode();
    }

    protected boolean doEquals(Object object) {
        RecordOrg other = (RecordOrg) object;
        return getEqualsBuilder().append(id, other.id).isEquals();
    }
}